import request from '@/utils/request'
const baseUrl = 'http://localhost:8888/box'
export function sendCommand(query) {
  return request({
    url: `http://192.168.0.104:889/box`,
    // url:`${baseUrl}`,
    method: 'get',
    params:{
      cmd: "box",
      token: query
    }
      
  })
}

export function getList(id) {
  return request({
    url: `${baseUrl}/device/dev/list`,
    method: 'get',
    params: {
      ids:id
    }
  })
}